//
//  YHHomeMyMachineDModel.h
//  YHApp
//
//  Created by -- on 2021/7/24.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class YHHomeMyMachineDCanalModel,YHHomeMyMachineDProductModel,YHHomeMyMachineDPolicyModel,YHHomeMyMachineDCustomerModel,YHHomeMyMachineDAgentModel;

@interface HAMachineDMo : NSObject

//batch = 210717585814;
//"bind_time" = 0;
/***/
@property (nonatomic, strong) YHHomeMyMachineDAgentModel *agent;
//canal =     {
@property (nonatomic, strong) YHHomeMyMachineDCanalModel *canal;
//"created_at" = 1626505139;
@property (nonatomic, strong) YHHomeMyMachineDCustomerModel *customer;
//"customer_id" = 387;
//id = 920;
@property (nonatomic, strong) NSString *ID;
//"is_dial" = 1;
//"is_service" = 0;
//"is_valid" = 0;
//options = "<null>";
//"policy_id" = 18;
//product =     {
@property (nonatomic, strong) YHHomeMyMachineDProductModel *product;
@property (nonatomic, strong) YHHomeMyMachineDPolicyModel *policy;

//"product_id" = 8;
//sn = N5810000032;
@property (nonatomic, strong) NSString *sn;
//state = 2;
//"state_label" = "\U5df2\U6fc0\U6d3b";
@property (nonatomic, strong) NSString *state_label;
//status = 1;
//termActivNo = 20180359;
//"term_id" = 82172904;
//trade =     {
//    month = 0;
//    total = 121;
//};
@property (nonatomic, strong) NSString *trade_month;
@property (nonatomic, strong) NSString *trade_total;
@property (nonatomic, strong) NSString *created_at;


@end

@interface YHHomeMyMachineDCanalModel : NSObject

//"back_tax" = "8.00";
//code = payrise;
//configs =         {
//    appid = 8610205641;
//    certSn = 83ebcd360da49cc4;
//    key = cmxy6qtwtyktxag4;
//};
//content = "<null>";
//"created_at" = 1620715451;
//deleted = "<null>";
//id = 2;
//maxFee = "3.00";
//maxRate = "0.150";
//maxTopFee = "0.00";
//name = "\U76db\U8fea\U5609\U5927POS";
@property (nonatomic, strong) NSString *name;
//options =         {
//    "alipay_rate" = "0.280";
//    "card_fee" = "0.00";
//    "card_max_free" = "0.00";
//    "card_rate" = "0.515";
//    "cloud_card_rate" = "0.280";
//    "cloud_fee" = "0.00";
//    "cloud_rate" = "0.280";
//    "face_card_rate" = "0.450";
//    "face_fee" = "0.00";
//    "face_rate" = "0.450";
//    fee = "0.00";
//    "max_alipay_rate" = "0.380";
//    "max_card_fee" = "3.00";
//    "max_card_max_free" = "0.00";
//    "max_card_rate" = "0.600";
//    "max_cloud_card_rate" = "0.380";
//    "max_cloud_fee" = "3.00";
//    "max_cloud_rate" = "0.380";
//    "max_face_card_rate" = "0.600";
//    "max_face_fee" = "3.00";
//    "max_face_rate" = "0.600";
//    "max_fee" = "3.00";
//    "max_quick_card_rate" = "0.550";
//    "max_quick_fee" = "3.00";
//    "max_quick_rate" = "0.550";
//    "max_rate" = "0.600";
//    "max_wechat_rate" = "0.380";
//    "quick_card_rate" = "0.450";
//    "quick_fee" = "0.00";
//    "quick_rate" = "0.450";
//    rate = "0.515";
//    "wechat_rate" = "0.280";
//};
//status = 1;
//tax = "8.00";
//"updated_at" = 1620715451;

@end

@interface YHHomeMyMachineDProductModel : NSObject

//    canal =         {
//        "back_tax" = "8.00";
//        code = payrise;
//        configs =             {
//            appid = 8610205641;
//            certSn = 83ebcd360da49cc4;
//            key = cmxy6qtwtyktxag4;
//        };
//        content = "<null>";
//        "created_at" = 1620715451;
//        deleted = "<null>";
//        id = 2;
//        maxFee = "3.00";
//        maxRate = "0.150";
//        maxTopFee = "0.00";
//        name = "\U76db\U8fea\U5609\U5927POS";
//        options =             {
//            "alipay_rate" = "0.280";
//            "card_fee" = "0.00";
//            "card_max_free" = "0.00";
//            "card_rate" = "0.515";
//            "cloud_card_rate" = "0.280";
//            "cloud_fee" = "0.00";
//            "cloud_rate" = "0.280";
//            "face_card_rate" = "0.450";
//            "face_fee" = "0.00";
//            "face_rate" = "0.450";
//            fee = "0.00";
//            "max_alipay_rate" = "0.380";
//            "max_card_fee" = "3.00";
//            "max_card_max_free" = "0.00";
//            "max_card_rate" = "0.600";
//            "max_cloud_card_rate" = "0.380";
//            "max_cloud_fee" = "3.00";
//            "max_cloud_rate" = "0.380";
//            "max_face_card_rate" = "0.600";
//            "max_face_fee" = "3.00";
//            "max_face_rate" = "0.600";
//            "max_fee" = "3.00";
//            "max_quick_card_rate" = "0.550";
//            "max_quick_fee" = "3.00";
//            "max_quick_rate" = "0.550";
//            "max_rate" = "0.600";
//            "max_wechat_rate" = "0.380";
//            "quick_card_rate" = "0.450";
//            "quick_fee" = "0.00";
//            "quick_rate" = "0.450";
//            rate = "0.515";
//            "wechat_rate" = "0.280";
//        };
//        status = 1;
//        tax = "8.00";
//        "updated_at" = 1620715451;
//    };
//    "canal_code" = payrise;
//    "canal_id" = 0;
//    content = "";
//    "created_at" = 1625758888;
//    factory = "<null>";
//    id = 8;
//    model = "<null>";
//    name = "\U76db\U8fea\U5609";
@property (nonatomic, strong) NSString *name;
//    status = 1;
//    thumb = "<null>";
//    "updated_at" = 1626444649;
//};


@end

@interface YHHomeMyMachineDPolicyModel : NSObject

//policy =     {
//    "allow_oem" = 0;
//    "canal_code" = payrise;
//    content = "";
//    "created_at" = 1626504948;
//    deleted = "<null>";
//    "end_date" = "2021-10-31";
//    id = 18;
//    name = "\U76db\U8fea\U5609";
@property (nonatomic, strong) NSString *name;
//    "oem_id" = 0;
//    options =         {
//        "alipay_rate" = "0.380";
//        "card_fee" = "3.00";
//        "card_max_free" = "0.00";
//        "card_rate" = "0.630";
//        "cloud_card_rate" = "0.380";
//        "cloud_fee" = "3.00";
//        "cloud_rate" = "0.380";
//        "face_card_rate" = "0.550";
//        "face_fee" = "3.00";
//        "face_rate" = "0.550";
//        fee = "3.00";
//        "quick_card_rate" = "0.550";
//        "quick_fee" = "3.00";
//        "quick_rate" = "0.550";
//        rate = "0.630";
//        "wechat_rate" = "0.380";
//    };
//    "start_date" = "2021-07-17";
//    status = 1;
//    trade =         {
//        "alipay_rate" =             {
//            "max_trade" = "0.380";
//            "min_trade" = "0.380";
//        };
//        "card_fee" =             {
//            "max_trade" = "3.00";
//            "min_trade" = "3.00";
//        };
//        "card_max_free" =             {
//            "max_trade" = "60.00";
//            "min_trade" = "0.00";
//        };
//        "card_rate" =             {
//            "max_trade" = "0.630";
//            "min_trade" = "0.630";
//        };
//        "cloud_card_rate" =             {
//            "max_trade" = "0.380";
//            "min_trade" = "0.380";
//        };
//        "cloud_fee" =             {
//            "max_trade" = "3.00";
//            "min_trade" = "3.00";
//        };
//        "cloud_rate" =             {
//            "max_trade" = "0.380";
//            "min_trade" = "0.380";
//        };
//        "face_card_rate" =             {
//            "max_trade" = "0.550";
//            "min_trade" = "0.550";
//        };
//        "face_fee" =             {
//            "max_trade" = "3.00";
//            "min_trade" = "3.00";
//        };
//        "face_rate" =             {
//            "max_trade" = "0.550";
//            "min_trade" = "0.550";
//        };
//        fee =             {
//            "max_trade" = "3.00";
//            "min_trade" = "3.00";
//        };
//        "quick_card_rate" =             {
//            "max_trade" = "0.550";
//            "min_trade" = "0.550";
//        };
//        "quick_fee" =             {
//            "max_trade" = "3.00";
//            "min_trade" = "3.00";
//        };
//        "quick_rate" =             {
//            "max_trade" = "0.550";
//            "min_trade" = "0.550";
//        };
//        rate =             {
//            "max_trade" = "0.630";
//            "min_trade" = "0.630";
//        };
//        "wechat_rate" =             {
//            "max_trade" = "0.380";
//            "min_trade" = "0.380";
//        };
//    };
//    "updated_at" = 1626772084;
//};


@end

@interface YHHomeMyMachineDCustomerModel : NSObject

//customer =     {
//    "agent_id" = 10001;
//    "canal_code" = payrise;
//    "created_at" = 1626504607;
//    id = 387;
//    identity = "<null>";
//    "merchant_id" = 8610215607;
//    mobile = "132****6244";
//    number = 8610215607;
@property (nonatomic, strong) NSString *number;
//    "oem_id" = 20210002;
//    region = "<null>";
//    "short_name" = "\U4e2a\U4f53\U6237\U9648\U5ba3\U826f";
//    state = "<null>";
//    status = 1;
//    surname = "\U4e2a\U4f53\U6237\U9648\U5ba3\U826f";
@property (nonatomic, strong) NSString *surname;
//    "term_id" = 920;
//    "term_sn" = N5810000032;
//    "updated_at" = 1626508236;
//};

@property (nonatomic, strong) NSString *bind_at;



@end

@interface YHHomeMyMachineDAgentModel : NSObject

/***/
@property (nonatomic, strong) NSString *name;

@end

NS_ASSUME_NONNULL_END
